package pure.engine 
{
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	import pure.engine.core.DelayManager;
	import pure.engine.core.InputManager;
	import pure.engine.core.ProcessManager;
	import pure.engine.model.RenderManager;
	
	import pure.engine.core.ns_despair;
	use namespace ns_despair;
	
	/**
	 * 多功能实用工具
	 * [Author] - PURE
	 * 
	 */
public class Multiple 
{
	
	public static function get input():InputManager
	{
		return m_input ||= new InputManager();
	}
	
	
	/**
	 * 进程管理器
	 */
	public static function get process():ProcessManager
	{
		return ProcessManager.instance;
	}

	
	public static function get delay():DelayManager
	{
		return m_delay ||= new DelayManager;
	}
	
	
	/**
	 * 事件侦听器
	 */
	public static function get notifier():IEventDispatcher
	{
		return m_notifier;
	}
	
	
	
	
	
	//======================
	// Member
	//======================

	
	ns_despair static var m_notifier:IEventDispatcher = new EventDispatcher();
	
	
	ns_despair static var m_delay:DelayManager;
	

	ns_despair static var m_input:InputManager;
}

}